//
//  quadrilateral.m
//  窗口
//
//  Created by mac on 16-4-18.
//  Copyright (c) 2016年 lee. All rights reserved.
//

#import "quadrilateral.h"

@implementation quadrilateral
-(NSString*)description
{
    return self.name;
}
-(void) square
{
    NSLog(@"正方形:");
}
-(void)rectangle{
    NSLog(@"长方形:");
}
-(void)parallelogram
{
    NSLog(@"平行四边形:");
}
-(NSStringCompareOptions) compare:(quadrilateral *)sa{
    
    return [self.name compare:sa.name];
}
@end
